//
//  ZYNavgationViewController.m
//  YaYa
//
//  Created by 张亚 on 2019/1/8.
//  Copyright © 2019年 张亚. All rights reserved.
//

#import "ZYNavgationViewController.h"

@interface ZYNavgationViewController ()

@end

@implementation ZYNavgationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.navigationBar.barTintColor = [UIColor colorWithRed:0/255.0f green:216/255.0f blue:201/255.0f alpha:1];

}

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated {
    if (self.viewControllers.count) {
        viewController.hidesBottomBarWhenPushed = YES;
    }
    
    [super pushViewController:viewController animated:animated];
}



@end
